<div class="sidebar">
    <div class="sidebar-dropdown"><a href="#">导航</a></div>

    <!--- Sidebar navigation -->
    <ul id="nav">
        <!-- Main menu with font awesome icon -->
        <!--<li>
            <a href="/"
                <if condition="$controller_name eq 'Index'">
                    class="open"
                </if>
            ><i class="icon-home"></i> 首页</a>
        </li>-->
        <li class="has_sub">
            <a href="#"><i class="icon-list-alt"></i> 系统管理  <span class="pull-right"><i class="icon-chevron-right"></i></span></a>
            <ul
                {if condition="$Request.controller eq 'Core'"}
                    style="display:block;"
                {/if}
            >
                <li
                    {if condition="preg_match('/^user/', $Request.action) == 1"}
                        class="muen_open"
                    {/if}
                ><a href="/admin/core/user">系统用户管理</a></li>
                <li
                    {if condition="preg_match('/^config/', $Request.action) == 1"}
                        class="muen_open"
                    {/if}
                ><a href="/admin/core/config">系统设置</a></li>
            </ul>
        </li>
        <li class="has_sub">
            <a href="#"><i class="icon-tasks"></i> 单条内容管理  <span class="pull-right"><i class="icon-chevron-right"></i></span></a>
            <ul
                {if condition="$Request.controller eq 'Courses'"}
                    style="display:block;"
                {/if}
            >
            <li
                {if condition="preg_match('/^colists/', $Request.action) == 1"}
                    class="muen_open"
                {/if}
            ><a href="/admin/courses/coLists">列表</a></li>
            </ul>
        </li>
        <li class="has_sub">
            <a href="#"><i class="icon-user"></i> 发布者账号管理  <span class="pull-right"><i class="icon-chevron-right"></i></span></a>
            <ul
                    {if condition="$Request.controller eq 'Posted'"}
                        style="display:block;"
                    {/if}
            >
            <li
                {if condition="preg_match('/^audit/', $Request.action) == 1"}
                    class="muen_open"
                {/if}
            ><a href="/admin/posted/audit">待审核列表</a></li>
            <li
                {if condition="preg_match('/^posteder/', $Request.action) == 1"}
                    class="muen_open"
                {/if}
            ><a href="/admin/posted/posteder">账号管理</a></li>
            </ul>
        </li>
        <li class="has_sub">
            <a href="#"><i class="icon-paperclip"></i> 渠道管理  <span class="pull-right"><i class="icon-chevron-right"></i></span></a>
            <ul
                {if condition="$Request.controller eq 'Channel'"}
                    style="display:block;"
                {/if}
            >
                <li
                    {if condition="preg_match('/^chlists/', $Request.action) == 1"}
                        class="muen_open"
                    {/if}
                ><a href="/admin/channel/chLists">渠道列表</a></li>
            </ul>
        </li>
        <li class="has_sub">
            <a href="#"><i class="icon-calendar"></i> 数据统计分析  <span class="pull-right"><i class="icon-chevron-right"></i></span></a>
            <ul
                {if condition="$Request.controller eq 'Analyze'"}
                    style="display:block;"
                {/if}
            >
            <li
                {if condition="preg_match('/^stats/', $Request.action) == 1"}
                    class="muen_open"
                {/if}
            ><a href="/admin/analyze/stats">统计</a></li>
            </ul>
        </li>
    </ul>
</div>